﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace MiniFox.Platform
{
    /// <summary>
    /// 系统应用身份
    /// </summary>
    [Serializable, JsonObject]
    public class ApplicationIdentity : SystemIdentity
    {
        string _appId;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="appId"></param>
        public ApplicationIdentity(string appId) : base(appId)
        {
            _appId = appId;
        }
        /// <summary>
        /// 
        /// </summary>
        [JsonIgnore, XmlIgnore]
        public override string AuthenticationType
        {
            get
            {
                return "MiniFox.Application";
            }
        }
    }
}
